----------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  ...\1805 Roadmaps\Table A7 any info.log
  log type:  text
 opened on:  14 Jun 2018, 11:56:07

. 
. set seed Xe073ad5510e51e1e8c4205bdf74dbbc10004419d

. 
. 
. probit vote_leemar ///
>      con con_D1 ///
>      all_info all_info_D1 ///
>      , noconstant

Iteration 0:   log likelihood = -176.05938  
Iteration 1:   log likelihood = -141.96894  
Iteration 2:   log likelihood =  -141.8735  
Iteration 3:   log likelihood = -141.87347  
Iteration 4:   log likelihood = -141.87347  

Probit regression                                 Number of obs   =        254
                                                  Wald chi2(4)    =      58.99
Log likelihood = -141.87347                       Prob > chi2     =     0.0000

------------------------------------------------------------------------------
 vote_leemar |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         con |  -.7072172   .2115841    -3.34   0.001    -1.121914     -.29252
      con_D1 |  -.1368431   .2809339    -0.49   0.626    -.6874635    .4137772
    all_info |  -.7806059   .1179554    -6.62   0.000    -1.011794   -.5494175
 all_info_D1 |   .6982094   .1438727     4.85   0.000      .416224    .9801948
------------------------------------------------------------------------------

. 
. tabstat d1 if e(sample), s(n mean sd min p25 p50 p75 max)

    variable |         N      mean        sd       min       p25       p50       p75       max
-------------+--------------------------------------------------------------------------------
          d1 |       254   .356248  .7152628    -1.848     -.141      .325      .895     1.856
----------------------------------------------------------------------------------------------

. 
. 
. estsimp probit vote_leemar ///
>      con con_D1 ///
>      all_info all_info_D1 ///
>      , noconstant

Iteration 0:   log likelihood = -176.05938
Iteration 1:   log likelihood = -142.52479
Iteration 2:   log likelihood = -141.87454
Iteration 3:   log likelihood = -141.87347

Probit regression                                 Number of obs   =        254
                                                  LR chi2(4)      =          .
Log likelihood = -141.87347                       Prob > chi2     =          .

------------------------------------------------------------------------------
 vote_leemar |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         con |  -.7072172   .2115841    -3.34   0.001    -1.121914     -.29252
      con_D1 |  -.1368431   .2809339    -0.49   0.626    -.6874634    .4137772
    all_info |  -.7806058   .1179551    -6.62   0.000    -1.011794   -.5494182
 all_info_D1 |   .6982094   .1438723     4.85   0.000     .4162249     .980194
------------------------------------------------------------------------------

Simulating main parameters.  Please wait....
% of simulations completed: 25% 50% 75% 100% 

Number of simulations  : 1000
Names of new variables : b1 b2 b3 b4

. 
. 
. setx median

. setx con 1

. setx con_D1 .325

. setx all_info 0

. setx all_info_D1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

--------------------------------------
   Variable |    Value     Description
------------+-------------------------
   all_info |        0          0     
all_info_D1 |        0          0     
        con |        1          1     
     con_D1 |     .325         .325   
--------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .7689861     .0577978      .647136    .8705827
            Pr(vote_l~r=1) |   .2310139     .0577977     .1294173     .352864

. 
. simqi, fd(prval(1) genpr(fd_con)) changex(con_D1 -.141 .895)

First Difference: con_D1 -.141 .895

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |  -.0362828     .0863173     -.192388    .1470348

Simqi generated the following new variable(s): fd_con

. 
. 
. setx con_D1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

--------------------------------------
   Variable |    Value     Description
------------+-------------------------
   all_info |      0            0     
all_info_D1 |      0            0     
        con |      1            1     
     con_D1 |      0            0     
--------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .7561491     .0625215     .6334101    .8686995
            Pr(vote_l~r=1) |   .2438509     .0625215     .1313005    .3665899

. 
. simqi, fd(prval(1) genpr(tr_all_info_con)) changex(con 1 0 all_info 0 1)

First Difference: con 1 0 all_info 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |  -.0261915     .0735697    -.1703102    .1096429

Simqi generated the following new variable(s): tr_all_info_con

. 
. 
. setx median

. setx con 0

. setx con_D1 0

. setx all_info 1

. setx all_info_D1 .325

. simqi, pr listx

You have set the following values for the explanatory variables:

--------------------------------------
   Variable |    Value     Description
------------+-------------------------
   all_info |      1            1     
all_info_D1 |   .325           .325   
        con |      0            0     
     con_D1 |      0            0     
--------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .7104877     .0336186     .6383167    .7738462
            Pr(vote_l~r=1) |   .2895123     .0336186     .2261538    .3616833

. 
. simqi, fd(prval(1) genpr(fd_all_info)) changex(all_info_D1 -.141 .895)

First Difference: all_info_D1 -.141 .895

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |   .2477082     .0504346     .1475082    .3453007

Simqi generated the following new variable(s): fd_all_info

. 
. 
. setx all_info_D1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

--------------------------------------
   Variable |    Value     Description
------------+-------------------------
   all_info |      1            1     
all_info_D1 |      0            0     
        con |      0            0     
     con_D1 |      0            0     
--------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .7823405     .0353395     .7078815    .8484822
            Pr(vote_l~r=1) |   .2176595     .0353395     .1515178    .2921184

. 
. 
. * Difference in baseline probabilities
. 
. tabstat tr_all_info_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
tr_all_inf~n | -.0261915  .0735697 -.3090138 -.1472795 -.1197947 -.0218643  .0631616  .0908981  .2026548
--------------------------------------------------------------------------------------------------------

. 
. 
. * Calculate difference in first differences
. 
. gen dif_all_info_con = fd_all_info - fd_con

. 
. tabstat dif_all_info_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_all_in~n |  .2839909  .1015031 -.0488821  .1080797  .1493487  .2901645  .4102911  .4480695  .5884171
--------------------------------------------------------------------------------------------------------

. 
. 
. drop b1-b4

. drop fd_con-dif_all_info_con

. 
. log close
      name:  <unnamed>
       log:  ...\1805 Roadmaps\Table A7 any info.log
  log type:  text
 closed on:  14 Jun 2018, 11:56:08
----------------------------------------------------------------------------------------------------------------------------
